package com.sin.j2me.wihd.model;

public class Update {
	private int updateid;
	private int userid;
	private int thingid;
	private String type;
	private String time;
	public Update() {
		super();
	}
	public Update(int updateid, int userid, int thingid, String type,
			String time) {
		super();
		this.updateid = updateid;
		this.userid = userid;
		this.thingid = thingid;
		this.type = type;
		this.time = time;
	}
	public int getUpdateid() {
		return updateid;
	}
	public void setUpdateid(int updateid) {
		this.updateid = updateid;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public int getThingid() {
		return thingid;
	}
	public void setThingid(int thingid) {
		this.thingid = thingid;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String toString() {
		return "Update [updateid=" + updateid + ", userid=" + userid
				+ ", thingid=" + thingid + ", type=" + type + ", time=" + time
				+ "]";
	}
}
